;;;;;;;;;;;;;;;;;;橋梁部,,,,
;線路,,,,
CreateMeshBuilder,,,,
AddVertex,-1.2,-0.4,20,
AddVertex,-1.2,-0.144,20,
AddVertex,1.2,-0.144,20,
AddVertex,1.2,-0.4,20,
AddVertex,1.2,-0.4,0,
AddVertex,1.2,-0.144,0,
AddVertex,-1.2,-0.144,0,
AddVertex,-1.2,-0.4,0,
AddFace,0,1,6,7
AddFace,1,2,5,6
AddFace,2,3,4,5
GenerateNormals,,,,
LoadTexture,Bridge-Tie.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,0.1,0,
SetTextureCoordinates,2,0.9,0,
SetTextureCoordinates,3,1,0,
SetTextureCoordinates,4,1,12,
SetTextureCoordinates,5,0.9,12,
SetTextureCoordinates,6,0.1,12,
SetTextureCoordinates,7,0,12,

CreateMeshBuilder,,,,
AddVertex,-1.25,-0.144,25.5,
AddVertex,1.25,-0.144,25.5,
AddVertex,1.25,-0.144,20,
AddVertex,-1.25,-0.144,20,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,Tie.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,

CreateMeshBuilder,,,,
AddVertex,-2.5,-0.45,25.5,
AddVertex,-0.95,-0.144,25.5,
AddVertex,-0.95,-0.144,20,
AddVertex,-2.5,-0.45,20,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,Ballast.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.2,
SetTextureCoordinates,3,0,0.2,

CreateMeshBuilder,,,,
AddVertex,0.95,-0.144,25.5,
AddVertex,2.5,-0.45,25.5,
AddVertex,2.5,-0.45,20,
AddVertex,0.95,-0.144,20,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,Ballast.bmp,,,
SetTextureCoordinates,0,0,0,
SetTextureCoordinates,1,1,0,
SetTextureCoordinates,2,1,0.2,
SetTextureCoordinates,3,0,0.2,

CreateMeshBuilder,,,,
AddVertex,-0.602,0,25.5,
AddVertex,-0.534,0,25.5,
AddVertex,-0.534,0,0,
AddVertex,-0.602,0,0,
AddFace,0,1,2,3
SetColor,160,160,160,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,0.534,0,25.5,
AddVertex,0.602,0,25.5,
AddVertex,0.602,0,0,
AddVertex,0.534,0,0,
AddFace,0,1,2,3
SetColor,160,160,160,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,-0.568,0,0,
AddVertex,-0.568,0,25.5,
AddVertex,-0.568,-0.144,25.5,
AddVertex,-0.568,-0.144,0,
AddVertex,0.568,0,0,
AddVertex,0.568,0,25.5,
AddVertex,0.568,-0.144,25.5,
AddVertex,0.568,-0.144,0,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
SetColor,65,35,0,
GenerateNormals,,,,

;内側レール,,,,
CreateMeshBuilder,,,,
AddVertex,-0.284,0,21,
AddVertex,-0.216,0,21,
AddVertex,-0.366,0,20,
AddVertex,-0.366,0,0,
AddVertex,-0.434,0,0,
AddVertex,-0.434,0,20,
AddFace,0,1,2,5
AddFace,2,3,4,5
SetColor,102,66,36,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,0.284,0,21,
AddVertex,0.216,0,21,
AddVertex,0.366,0,20,
AddVertex,0.366,0,0,
AddVertex,0.434,0,0,
AddVertex,0.434,0,20,
AddFace,5,2,1,0
AddFace,5,4,3,2
SetColor,102,66,36,
GenerateNormals,,,,

;架線,,,,
CreateMeshBuilder,,,,
AddVertex,0.012,5.1,0,
AddVertex,0.012,5.1,25.5,
AddVertex,-0.012,5.1,25.5,
AddVertex,-0.012,5.1,0,
AddFace2,0,1,2,3
SetColor,64,64,64,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,0.008,5.7,0,
AddVertex,0.008,5.7,25.5,
AddVertex,-0.008,5.7,25.5,
AddVertex,-0.008,5.7,0,
AddFace2,0,1,2,3
SetColor,192,176,160,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,-0.06,5.7,4.167,
AddVertex,0,5.76,4.167,
AddVertex,0.06,5.7,4.167,
AddVertex,0,5.64,4.167,
AddFace,0,1,2,3
SetColor,64,64,64,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,-0.06,5.7,12.5,
AddVertex,0,5.76,12.5,
AddVertex,0.06,5.7,12.5,
AddVertex,0,5.64,12.5,
AddFace,0,1,2,3
SetColor,64,64,64,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,-0.06,5.7,20.833,
AddVertex,0,5.76,20.833,
AddVertex,0.06,5.7,20.833,
AddVertex,0,5.64,20.833,
AddFace,0,1,2,3
SetColor,64,64,64,
GenerateNormals,,,,

;架線,,,,
CreateMeshBuilder,,,,
AddVertex,0.012,5.1,0,
AddVertex,0.012,5.1,25.5,
AddVertex,-0.012,5.1,25.5,
AddVertex,-0.012,5.1,0,
AddFace2,0,1,2,3
SetColor,64,64,64,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,0.012,5.7,0,
AddVertex,0.012,5.7,25.5,
AddVertex,-0.012,5.7,25.5,
AddVertex,-0.012,5.7,0,
AddFace2,0,1,2,3
SetColor,192,176,160,
GenerateNormals,,,,

CreateMeshBuilder,,,,
AddVertex,-0.012,5.7,0,
AddVertex,0.012,5.7,0,
AddVertex,0.012,5.1,0,
AddVertex,-0.012,5.1,0,
AddFace2,0,1,2,3
SetColor,180,180,180,
GenerateNormals,,,,
Translate,0,0,4.17,

CreateMeshBuilder,,,,
AddVertex,-0.012,5.7,0,
AddVertex,0.012,5.7,0,
AddVertex,0.012,5.1,0,
AddVertex,-0.012,5.1,0,
AddFace2,0,1,2,3
SetColor,180,180,180,
GenerateNormals,,,,
Translate,0,0,12.51,

CreateMeshBuilder,,,,
AddVertex,-0.012,5.7,0,
AddVertex,0.012,5.7,0,
AddVertex,0.012,5.1,0,
AddVertex,-0.012,5.1,0,
AddFace2,0,1,2,3
SetColor,180,180,180,
GenerateNormals,,,,
Translate,0,0,20.85,

CreateMeshBuilder,,,,
AddVertex,-0.06,5.7,0,
AddVertex,0,5.76,0,
AddVertex,0.06,5.7,0,
AddVertex,0,5.64,0,
AddFace,0,1,2,3
SetColor,60,60,60,
GenerateNormals,,,,
Translate,0,0,4.16,

CreateMeshBuilder,,,,
AddVertex,-0.06,5.7,0,
AddVertex,0,5.76,0,
AddVertex,0.06,5.7,0,
AddVertex,0,5.64,0,
AddFace,0,1,2,3
SetColor,60,60,60,
GenerateNormals,,,,
Translate,0,0,12.5,

CreateMeshBuilder,,,,
AddVertex,-0.06,5.7,0,
AddVertex,0,5.76,0,
AddVertex,0.06,5.7,0,
AddVertex,0,5.64,0,
AddFace,0,1,2,3
SetColor,60,60,60,
GenerateNormals,,,,
Translate,0,0,20.84,

;;;;;;;;;;;;;;;;;土手,,,,
CreateMeshBuilder,,,,
AddVertex,-1.9,-0.45,20,
AddVertex,-2.5,-0.3,20,
AddVertex,-3,-0.5,20,
AddVertex,-11,-9,20,
AddVertex,-1.9,-0.45,26,
AddVertex,-2.5,-0.3,26,
AddVertex,-3,-0.5,26,
AddVertex,-11,-9,26,
AddFace,0,1,5,4
AddFace,1,2,6,5
AddFace,2,3,7,6
GenerateNormals,,,,
LoadTexture,Grass.bmp,,,
SetTextureCoordinates,0,0.2,0,
SetTextureCoordinates,1,0.2,0.1,
SetTextureCoordinates,2,0.2,0.2,
SetTextureCoordinates,3,0.2,1,
SetTextureCoordinates,4,0,0,
SetTextureCoordinates,5,0,0.1,
SetTextureCoordinates,6,0,0.2,
SetTextureCoordinates,7,0,1,

CreateMeshBuilder,,,,
AddVertex,1.9,-0.45,20,
AddVertex,2.5,-0.3,20,
AddVertex,3,-0.5,20,
AddVertex,11,-9,20,
AddVertex,1.9,-0.45,26,
AddVertex,2.5,-0.3,26,
AddVertex,3,-0.5,26,
AddVertex,11,-9,26,
AddFace,4,5,1,0
AddFace,5,6,2,1
AddFace,6,7,3,2
GenerateNormals,,,,
LoadTexture,Grass.bmp,,,
SetTextureCoordinates,0,0.2,0,
SetTextureCoordinates,1,0.2,0.1,
SetTextureCoordinates,2,0.2,0.2,
SetTextureCoordinates,3,0.2,1,
SetTextureCoordinates,4,0,0,
SetTextureCoordinates,5,0,0.1,
SetTextureCoordinates,6,0,0.2,
SetTextureCoordinates,7,0,1,

CreateMeshBuilder,,,,
AddVertex,-3,-0.3,20,
AddVertex,3,-0.3,20,
AddVertex,11,-9,20,
AddVertex,-11,-9,20,
AddFace,0,1,2,3
GenerateNormals,,,,
LoadTexture,Concrete.bmp,,,
SetTextureCoordinates,0,0.3,0,
SetTextureCoordinates,1,0.7,0,
SetTextureCoordinates,2,1,1,
SetTextureCoordinates,3,0,1,

;;;;;;,,,,
CreateMeshBuilder,,,,
AddVertex,-0.8,-0.15,20,
AddVertex,-0.8,-0.15,0,
AddVertex,-0.8,-1.5,0,
AddVertex,-0.8,-1.5,20,
AddVertex,0.8,-0.15,0,
AddVertex,0.8,-0.15,20,
AddVertex,0.8,-1.5,20,
AddVertex,0.8,-1.5,0,
AddFace2,0,1,2,3
AddFace2,4,5,6,7
GenerateNormals,,,,
LoadTexture,Bridge-U.bmp,,,
SetTextureCoordinates,0,0,0
SetTextureCoordinates,1,15,0
SetTextureCoordinates,2,15,1
SetTextureCoordinates,3,0,1
SetTextureCoordinates,4,0,0
SetTextureCoordinates,5,15,0
SetTextureCoordinates,6,15,1
SetTextureCoordinates,7,0,1
